package PLCSymbolAndScope.PLCSymbols;

import PLCSymbolAndScope.PLCScope.PLCScope;
import PLCSymbolAndScope.PLCSymbolTables.PLCSymbolTable;

//引入作用域的符号 IS:import Scope
public class PLCISTypeDeclType extends PLCTypeDeclSymbol {

    public PLCISTypeDeclType(){
        super();
    }
    public PLCISTypeDeclType(String name, int rowNum){
        super(name, rowNum);
    }

    //该符号引入的符号表，在入栈时自动设置
    public PLCSymbolTable importSymbolTable;

    public void setImportSymbolTable(PLCSymbolTable importSymbolTable) {
        this.importSymbolTable = importSymbolTable;
    }

    public PLCSymbolTable getImportSymbolTable() {
        return importSymbolTable;
    }

    //该符号引入的作用域，在入栈时自动设置
    public PLCScope importScope;

    public void setImportScope(PLCScope importScope) {
        this.importScope = importScope;
    }

    public PLCScope getImportScope() {
        return importScope;
    }

}
